/**
 * Labox有限公司项目InnovationServer
 * Labox版权所有 @copyright 2009
 * @javaclass AbstractClient.java @author 丁宁 @time 2009-11-27
 */
package labox.innovation.loginserver;

import java.net.InetAddress;

import labox.innovation.loginserver.socket.LoginClient.LoginClientState;


/**
 * @author Administrator
 *
 */
public interface Client  {

	public void setAccount(String accout);
	
	public String getAccount();
	
	public void setState(LoginClientState state);
	
	public LoginClientState getState();
	
	public void setSessionKey(int sessionKey);
	
//	public SessionKey getSessionKey() ;
	
	public int getSessionKey();
	
	public void setAccessLevel(int accessLevel);

	/**
	 * AccessLevel<0 被banned的账户，AccessLevel=0 普通账户，AccessLevel>0 GM账户
	 */
	public int getAccessLevel();
	
	public InetAddress getInetAddress();
	
	public void setLastServer(int lastServer);
	
	public int getLastServer();
	
	public long getConnectionStartTime();
	
	public boolean usesInternalIP();

}
